using System;
using System.Collections.Generic;
using System.Text;

namespace SubManager.Entity
{
    public enum RepositoryEntryEnum
    {
        Directory,
        File,
        Repository,
        Unknown
    }

    public class RepositoryEntryEntity
    {
        #region Fields
        private string _entryUrl;
        private RepositoryEntryEnum _entryType;
        #endregion

        #region Ctor
        public RepositoryEntryEntity()
        {
            _entryUrl = string.Empty;
            _entryType = RepositoryEntryEnum.Repository;
        }

        public RepositoryEntryEntity(string entryUrl, RepositoryEntryEnum entryType)
            : this()
        {
            _entryType = entryType;
            _entryUrl = entryUrl;
        }
        #endregion

        #region Properties
        public string EntryUrl
        {
            get { return _entryUrl; }
            set { _entryUrl = value; }
        }

        public RepositoryEntryEnum EntryType
        {
            get { return _entryType; }
            set { _entryType = value; }
        }
        #endregion

    }
}
